package service.impl;

import dao.EnterpriseDao;
import dao.impl.EnterpriseDaoImpl;
import entry.Enterprise;
import service.EnterpriseService;

import java.util.ArrayList;

public class EnterpriseServiceImpl implements EnterpriseService {
    EnterpriseDao enterpriseDao=new EnterpriseDaoImpl();
    /**
     * selectAllEnterprise 查询全部企业信息
     *
     * @return ArrayList<Enterprise> 全部企业信息列表
     * @author 闫东杰
     */
    @Override
    public ArrayList<Enterprise> selectAllEnterprise() {
        return enterpriseDao.selectAllEnterprise();
    }
}
